/**
 * 
 */
package com.oppo.dao;

import com.oppo.bean.ProductBean;
import com.oppo.db.BasicDataOperation;
import com.oppo.tools.MyTools;

/**
 * @author 天下有雪
 *
 */
public class ProductAddInfoDao {
	public int AddProductInfo(ProductBean two){
		String sql = "INSERT INTO product_t(product_img,product_color,product_model,product_price) VALUES(?,?,?,?)";
		int i = MyTools.getNewInstance(BasicDataOperation.class).updateData(sql, two.getProduct_img(),two.getProduct_color(),two.getProduct_model(),two.getProduct_price());
		return i;
	}
}
